package com.sxpi.convert;


import com.sxpi.model.entity.Works;
import com.sxpi.model.vo.WorksVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface WorksConvert {
    WorksConvert INSTANCE = Mappers.getMapper(WorksConvert.class);

    WorksVo convertVoToEntity(Works works);
    WorksVo convertEntityToVo(Works works);
//    List<WorksVo> convertEntityToVo(List<Works> works);
}
